import java.util.*;
public class niujia_lyric{
 public static void main(String [] args)
 {
    Scanner scn=new Scanner(System.in);
    int count=0;
    while(scn.hasNext())
    {
      String str=scn.next();
      str=str.toLowerCase();
      if(str.contains("you"))
      {
       count++;
      }
      if(str.contains("."))
      {
      	break;
      }
      

    }

System.out.println(count);
scn.close();
 }	
 

}